package beans;

//~--- non-JDK imports --------------------------------------------------------

import dto.Sections;
import dto.Topics;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;

//~--- JDK imports ------------------------------------------------------------

import java.util.Vector;

import javax.servlet.http.HttpServletRequest;

public class SectionBean extends org.apache.struts.action.ActionForm {
    Vector<Sections> sections;
    Vector<Topics>   topics;

    public SectionBean() {
        System.out.println("I am inside section bean");
    }

    public Vector<Topics> getTopics() {
        return topics;
    }

    public void setTopics(Vector<Topics> topics) {
        this.topics = topics;
    }

    public Vector<Sections> getSections() {
        return sections;
    }

    public void setSections(Vector<Sections> sections) {
        this.sections = sections;
    }

    public void reset(ActionMapping actionMapping, HttpServletRequest request) {}

    public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest request) {
        return null;
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
